﻿using System.Web.Mvc;
using EventPlanner.DAL;
using EventPlanner.Performance;

namespace EventPlanner.Controllers
{
    [CompressFilter(Order = 1)]
    [CacheFilter(Duration = 60)]
    public class HomeController : Controller
    {
        private EventPlannerContext db = new EventPlannerContext();

        /* Index: Carga un mensaje de bienvenida en la vista de inicio. */
        
        public ActionResult Index()
        {
            ViewBag.Message = "Bienvenido a Event Planner !!";

            return View();
        }

        /*  */

        public ActionResult EnConstruccion()
        {
            return View();
        }

        /*  */

        public ActionResult About()
        {
            return View();
        }
    }
}
